

  function high(val, value) {
  
    let reg = new RegExp(`${value}`, "g");
    if (reg.test(val) && value.length>0) {
      val = val.replace(reg, `<b style="color:red">${value}</b>`);
    }
    return val;
}

export default {
   high
}